home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
DPMI_UTL
/
REALIN
/
PTRSCR.PAS
next >
Wrap
Pascal/Delphi Source File
|
1992-03-09
|
735b
|
33 lines
{Test the SimRMI unit. Simulates a call to real mode interrupt 05h to print the
screen using the 'print screen' key routine.
Running this program has the same effect as hitting the PrtScr key in DOS.
Needs to be running in a 'standard' video mode (eg VGA) with the correct printer
set up in DOS using GRAPHICS.
It is assumed that Windows is running in protected mode.
Rex K. Perkins, CIS 70651,1611
6th March 1992
}
Program SimScr;
Uses SimRMI;
Const IntVec=05; {Call this interrupt}
Begin
If CheckISRInstalled(IntVec) Then {If there is an interrupt handler installed...}
SimRealModeInt(IntVec,@DontCareRMR) {..call it. We don't care what the registers, so zero them}
End.